body {
	width: 100%;
	max-width: 100%;
}

#message-header {
	width: 100%;
	height: 4rem;
	min-width: 280px;
	background: url(https://g.alicdn.com/jym/jym-frontend-cdn/img/message-nav-header.1a5e8eb8.png) no-repeat left top;
	background-size: 100% 100%;
}

#header-panel {
	width: 100%;
	max-width: 750px;
	margin: 0 auto;
	height: 1.4rem;
	box-sizing: border-box;
	display: flex;
	justify-content: center;
}

#header-panel>div {
	padding: 0.2rem;
	height: 100%;
	text-align: center;
}

#header-panel>div:nth-of-type(1),
#header-panel>div:nth-of-type(3) {
	width: 1.6rem;
	font-size: 1.4rem;
	line-height: 1.4rem;
	color: white;
	font-weight: bold;
}

#header-panel>div:nth-of-type(2) {
	flex: 1;
	font-size: 1rem;
	line-height: 1.4rem;
	color: white;
	font-weight: bold;
}


/*id=activity-message，正式的消息展示开始*/

#activity-message {
	width: 90%;
	height: 4rem;
	min-width: 320px;
	margin: 0 auto;
	position: absolute;
	top: 2rem;
	left: 50%;
	transform: translateX(-50%);
	border-radius: 0.6rem;
	box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.1), 0px 1px 8px rgba(0, 0, 0, 0.1);
	background: white;
}

#activity-message>ul {
	width: 100%;
	height: 100%;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
}

#activity-message>ul>li {
	flex: 1;
	box-sizing: border-box;
	height: 100%;
}

#activity-message>ul>li a {
	display: block;
	width: 100%;
	height: 100%;
	text-align: center;
	white-space: nowrap;
	text-overflow: ellipsis;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 0.4rem;
	box-sizing: border-box;
}

#activity-message>ul>li img {
	width: 1.7rem;
	height: 1.7rem;
	border-radius: 50%;
}

#activity-message>ul>li a>div {
	width: 100%;
	height: 1.6rem;
	font-size: 0.6rem;
	line-height: 1.6rem;
}


/*section部分开始 start*/

section#message-section {
	width: 100%;
	min-width: 280px;
	/*限制最小宽度width为280px*/
	margin: 4rem auto;
	position: relative;
}


/*无消息时出现的盒子的样式开始 start*/

#no-message {
	width: 12rem;
	height: 12rem;
	margin: 0 auto;
	position: absolute;
	left: 50%;
	top: 0;
	z-index: -1;
	transition: all 1.5s;
	transform: translateX(-50%) scale(0);
	/*display: none;*/
}

#no-message img {
	width: 12rem;
	height: 12rem;
	display: block;
	margin: 0 auto;
}


/*有消息时，出现消息的盒子的样式开始 start*/

section#message-section #message-box {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-content: flex-start;
}


/*消息盒子中的第一列div开始*/

#message-box #filter-message {
	width: 100%;
	height: 1.6rem;
	font-size: 0.6rem;
	line-break: 1.6rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: white;
	background: linear-gradient(to bottom, #249eff, #52e0ff);
}

#filter-form1 {
	flex: 1;
}

.filter {
	padding-left: 0.4rem;
}

#filter-form1 .filter label {
	width: 4rem;
	min-width: 100px;
	height: 100%;
	display: inline-block;
}

#filter-form1 .filter label input {
	width: 0.5rem;
	height: 0.5rem;
	vertical-align: middle;
	margin-right: 0.2rem;
}


/*form表单旁边的兄弟div元素样式开始 start*/

#filter-form1~div {
	height: 100%;
	width: 2rem;
	font-size: 1rem;
	font-weight: bold;
	line-height: 1.6rem;
}


/*点击使下面的消息ol列表呈一行一行排列，不是并列，而是单独占一行*/

#row-direction-place {
	font-size: 1.4rem;
}

#message-box>ol {
	transition: all 1s;
	width: 50%;
	min-width: 140px;
	list-style: decimal inside;
}


/*包含已读消息、未读消息的ol列表*/

ol.message-ol>li {
	width: 100%;
	height: auto;
	overflow: hidden;
	padding: 0.2rem;
	box-sizing: border-box;
}

ol.message-ol .message-details summary {
	border-bottom: 0.08rem solid orange;
	line-height: 1.4rem;
}

ol.message-ol .message-details>div {
	font-size: 0.54rem;
	line-height: 2;
	border-bottom: 0.08rem solid orange;
}

details,
summary {
	border: none;
	outline: none;
}